<template>
  <router-view></router-view>
  <BottomTap v-show="falg"></BottomTap>
</template>

<script setup lang="ts">
import { ref } from "vue";
import BottomTap from "./components/BottomTap.vue";
import mit from "./configuration/mitt";
const falg = ref<boolean>(true);
mit.on("flag", (bool) => {
  console.log(bool);
  falg.value = bool as boolean;
});
</script>
<style scoped lang="less"></style>
